package com.bosssoft.user.permission.center.serve.dao.mapper;

import com.bosssoft.user.permission.center.serve.dao.entity.BasicUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 用户信息处理接口，与数据库对接
 * @author lanyukai
 */
@Mapper
public interface BasicUserMapper extends tk.mybatis.mapper.common.Mapper<BasicUser>{

    /**
     * 根据工号、密码以及租户编码查找对应的用户
     * @author lanyukai
     * @date 2024/06/12 20:33
     * @param code 工号
     * @param password 密码
     * @param account 租户编码
     * @return 用户信息
     */
    BasicUser selectBasicUserByCodeAndPasswordAndTenantAccount(@Param("code") String code, @Param("password") String password, @Param("account") String account);
}